[{
    "labels": [{"key": "name", "value": "service-labels-rule"}],
    "endpointSelector": {
        "matchLabels": {
            "id": "app2"
        }
    },
    "egress": [
        {
            "toServices": [
                {
                    "k8sServiceSelector": {
                        "selector": {
                            "matchLabels": {
                                "external": "yes"
                            }
                        }
                    }
                }
            ]
        }
    ]
}
]
